//
// Created by 高联锐 on 2021/2/18.
//
#include <stdio.h>
#include <ctype.h>
#include <stdbool.h>

int main() {
    printf("%s", "chapter07.c run...\n");
    /**
     * getchar putchar
     */
    printf("please enter a string\n");
    char c;
    while ((c = getchar()) != '\n') {
        if (isalpha(c)) {
            putchar(toupper(c+1));
        } else {
            putchar(c);
        }
    }
    putchar(c);

    bool aBool = true;
    if (aBool) {
        printf("bool test is true!\n");
    }

    return 0;
};

